package qnb.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import qnb.dao.StudentStyleDao;
import qnb.entity.StudentStyle;
import qnb.service.StudentStyleService;

import java.util.List;

@Service
public class StudentStyleServiceImpl implements StudentStyleService {
	@Autowired
	private StudentStyleDao dao;
	
	/**
	 * 根据主键：查询一个对象
	 */
	@Override
	public StudentStyle selectOne(Integer studentStyleId) {
		return dao.selectOne(studentStyleId);
	}

	@Override
	public List<StudentStyle> selectAll() {
		return dao.selectAll();
	}

}
